package org.ala.shopping_test.shopping_center.repository.order_test.entity;

import java.io.Serializable;
import java.util.List;
import java.util.ArrayList;


/**
 *	EntityFields (shopping_order_20250324)
 *  订单总表
 *
 *	@author 骆毅 (ala)
 *	@date 2025-03-24 23:08:24
 */
public class ShoppingOrder20250324Fields implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     *  订单id
     */
    public static String Id = "id";
    /**
     *  订单编码 [YYYYMMdd-Type]
     */
    public static String Code = "code";
    /**
     *  订单涵盖品类名称（冗余字段，真实数据记录在order_category表）
     */
    public static String CategoryNames = "category_names";
    /**
     *  订单类型 0：商城下单 1：下线订单 2：外部导入订单
     */
    public static String OrderType = "order_type";
    /**
     *  订单来源 只对外部订单有效(order_type=2) 标识外部订单类型
     */
    public static String OrderSource = "order_source";
    /**
     *  买家id
     */
    public static String BuyerId = "buyer_id";
    /**
     *  卖家订单id
     */
    public static String BuyerOrderId = "buyer_order_id";
    /**
     *  买家名称
     */
    public static String ByuerName = "byuer_name";
    /**
     *  卖家id
     */
    public static String SellerId = "seller_id";
    /**
     *  卖家订单id
     */
    public static String SellerOrderId = "seller_order_id";
    /**
     *  卖家名称
     */
    public static String SellerName = "seller_name";
    /**
     *  订单总金额（含优惠）
     */
    public static String OrderAmount = "order_amount";
    /**
     *  订单总税额
     */
    public static String OrderTax = "order_tax";
    /**
     *  订单总优惠金额
     */
    public static String OrderDiscountAmount = "order_discount_amount";
    /**
     *  订单总利润金额
     */
    public static String OrderProfit = "order_profit";
    /**
     *  订单金额明细
     */
    public static String OrderAmountDetail = "order_amount_detail";
    /**
     *  订单状态 0：待审核 1：已审核打单配货 2：已配货待发货 3：已发货 4：已到货 5：完成
     */
    public static String Status = "status";
    /**
     *  是否异常 0：否 1：是
     */
    public static String Abnormal = "abnormal";
    /**
     *  订单备注
     */
    public static String Remark = "remark";
    /**
     *  记录创建时间
     */
    public static String CreateTime = "create_time";
    /**
     *  记录最后修改时间
     */
    public static String ModifyTime = "modify_time";


    /**
     *  本次查询涉及的字段名
     */
    protected List<String> fields;
    public List<String> getFields() {
        return fields;
    }
    public void setFields(List<String> fields) {
        this.fields = fields;
    }
    /**
     *  全部字段
     */
    public static ShoppingOrder20250324Fields All() {
        ShoppingOrder20250324Fields f = new ShoppingOrder20250324Fields();
        List<String> fields = new ArrayList<>();
            fields.add(ShoppingOrder20250324Fields.Id);
            fields.add(ShoppingOrder20250324Fields.Code);
            fields.add(ShoppingOrder20250324Fields.CategoryNames);
            fields.add(ShoppingOrder20250324Fields.OrderType);
            fields.add(ShoppingOrder20250324Fields.OrderSource);
            fields.add(ShoppingOrder20250324Fields.BuyerId);
            fields.add(ShoppingOrder20250324Fields.BuyerOrderId);
            fields.add(ShoppingOrder20250324Fields.ByuerName);
            fields.add(ShoppingOrder20250324Fields.SellerId);
            fields.add(ShoppingOrder20250324Fields.SellerOrderId);
            fields.add(ShoppingOrder20250324Fields.SellerName);
            fields.add(ShoppingOrder20250324Fields.OrderAmount);
            fields.add(ShoppingOrder20250324Fields.OrderTax);
            fields.add(ShoppingOrder20250324Fields.OrderDiscountAmount);
            fields.add(ShoppingOrder20250324Fields.OrderProfit);
            fields.add(ShoppingOrder20250324Fields.OrderAmountDetail);
            fields.add(ShoppingOrder20250324Fields.Status);
            fields.add(ShoppingOrder20250324Fields.Abnormal);
            fields.add(ShoppingOrder20250324Fields.Remark);
            fields.add(ShoppingOrder20250324Fields.CreateTime);
            fields.add(ShoppingOrder20250324Fields.ModifyTime);
        f.fields = fields;
        return f;
    }
    /**
     *  追加 id
     */
    public static ShoppingOrder20250324Fields Id() {
        return new ShoppingOrder20250324Fields().id();
    }
    public ShoppingOrder20250324Fields id() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.Id);
        return this;
    }
    /**
     *  追加 code
     */
    public static ShoppingOrder20250324Fields Code() {
        return new ShoppingOrder20250324Fields().code();
    }
    public ShoppingOrder20250324Fields code() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.Code);
        return this;
    }
    /**
     *  追加 category_names
     */
    public static ShoppingOrder20250324Fields CategoryNames() {
        return new ShoppingOrder20250324Fields().categoryNames();
    }
    public ShoppingOrder20250324Fields categoryNames() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.CategoryNames);
        return this;
    }
    /**
     *  追加 order_type
     */
    public static ShoppingOrder20250324Fields OrderType() {
        return new ShoppingOrder20250324Fields().orderType();
    }
    public ShoppingOrder20250324Fields orderType() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.OrderType);
        return this;
    }
    /**
     *  追加 order_source
     */
    public static ShoppingOrder20250324Fields OrderSource() {
        return new ShoppingOrder20250324Fields().orderSource();
    }
    public ShoppingOrder20250324Fields orderSource() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.OrderSource);
        return this;
    }
    /**
     *  追加 buyer_id
     */
    public static ShoppingOrder20250324Fields BuyerId() {
        return new ShoppingOrder20250324Fields().buyerId();
    }
    public ShoppingOrder20250324Fields buyerId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.BuyerId);
        return this;
    }
    /**
     *  追加 buyer_order_id
     */
    public static ShoppingOrder20250324Fields BuyerOrderId() {
        return new ShoppingOrder20250324Fields().buyerOrderId();
    }
    public ShoppingOrder20250324Fields buyerOrderId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.BuyerOrderId);
        return this;
    }
    /**
     *  追加 byuer_name
     */
    public static ShoppingOrder20250324Fields ByuerName() {
        return new ShoppingOrder20250324Fields().byuerName();
    }
    public ShoppingOrder20250324Fields byuerName() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.ByuerName);
        return this;
    }
    /**
     *  追加 seller_id
     */
    public static ShoppingOrder20250324Fields SellerId() {
        return new ShoppingOrder20250324Fields().sellerId();
    }
    public ShoppingOrder20250324Fields sellerId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.SellerId);
        return this;
    }
    /**
     *  追加 seller_order_id
     */
    public static ShoppingOrder20250324Fields SellerOrderId() {
        return new ShoppingOrder20250324Fields().sellerOrderId();
    }
    public ShoppingOrder20250324Fields sellerOrderId() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.SellerOrderId);
        return this;
    }
    /**
     *  追加 seller_name
     */
    public static ShoppingOrder20250324Fields SellerName() {
        return new ShoppingOrder20250324Fields().sellerName();
    }
    public ShoppingOrder20250324Fields sellerName() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.SellerName);
        return this;
    }
    /**
     *  追加 order_amount
     */
    public static ShoppingOrder20250324Fields OrderAmount() {
        return new ShoppingOrder20250324Fields().orderAmount();
    }
    public ShoppingOrder20250324Fields orderAmount() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.OrderAmount);
        return this;
    }
    /**
     *  追加 order_tax
     */
    public static ShoppingOrder20250324Fields OrderTax() {
        return new ShoppingOrder20250324Fields().orderTax();
    }
    public ShoppingOrder20250324Fields orderTax() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.OrderTax);
        return this;
    }
    /**
     *  追加 order_discount_amount
     */
    public static ShoppingOrder20250324Fields OrderDiscountAmount() {
        return new ShoppingOrder20250324Fields().orderDiscountAmount();
    }
    public ShoppingOrder20250324Fields orderDiscountAmount() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.OrderDiscountAmount);
        return this;
    }
    /**
     *  追加 order_profit
     */
    public static ShoppingOrder20250324Fields OrderProfit() {
        return new ShoppingOrder20250324Fields().orderProfit();
    }
    public ShoppingOrder20250324Fields orderProfit() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.OrderProfit);
        return this;
    }
    /**
     *  追加 order_amount_detail
     */
    public static ShoppingOrder20250324Fields OrderAmountDetail() {
        return new ShoppingOrder20250324Fields().orderAmountDetail();
    }
    public ShoppingOrder20250324Fields orderAmountDetail() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.OrderAmountDetail);
        return this;
    }
    /**
     *  追加 status
     */
    public static ShoppingOrder20250324Fields Status() {
        return new ShoppingOrder20250324Fields().status();
    }
    public ShoppingOrder20250324Fields status() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.Status);
        return this;
    }
    /**
     *  追加 abnormal
     */
    public static ShoppingOrder20250324Fields Abnormal() {
        return new ShoppingOrder20250324Fields().abnormal();
    }
    public ShoppingOrder20250324Fields abnormal() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.Abnormal);
        return this;
    }
    /**
     *  追加 remark
     */
    public static ShoppingOrder20250324Fields Remark() {
        return new ShoppingOrder20250324Fields().remark();
    }
    public ShoppingOrder20250324Fields remark() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.Remark);
        return this;
    }
    /**
     *  追加 create_time
     */
    public static ShoppingOrder20250324Fields CreateTime() {
        return new ShoppingOrder20250324Fields().createTime();
    }
    public ShoppingOrder20250324Fields createTime() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.CreateTime);
        return this;
    }
    /**
     *  追加 modify_time
     */
    public static ShoppingOrder20250324Fields ModifyTime() {
        return new ShoppingOrder20250324Fields().modifyTime();
    }
    public ShoppingOrder20250324Fields modifyTime() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(ShoppingOrder20250324Fields.ModifyTime);
        return this;
    }
}